ci: migrate off Stainless to release-please publishing#20
Merged
Conversation
Stainless wound down its hosted SDK generator, so this gem is now hand-maintained and its Stainless-driven CI/release plumbing is dead. - Drop the Stainless build job and codegen/stl-preview branch plumbing from ci.yml; lint and test now run on normal pushes to main and on PRs. - Add release.yml with the release-please + gated publish pattern (same as hexlet-ide): the publish job runs in the same workflow invocation that cuts the release, so no GITHUB_TOKEN cascade or PAT is needed. - Reduce publish-gem.yml to a manual workflow_dispatch fallback. - Retarget release-please-config.json from the Stainless fork to the official schema, dropping prerelease mode and the Stainless-only ruby-readme updater in favor of the standard generic README updater. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stainless wound down its hosted SDK generator, so this gem is now hand-maintained. This restores an in-repo release/publish pipeline (mirrors the migration already shipped in
cloudpayments-rubyand the two-job pattern fromhexlet-ide).ci.yml: removed the Stainlessbuildjob (gated on thestainless-sdks/*mirror, uploaded topkg.stainless.com) and thecodegen/**/stl-preview-*plumbing.lint/testrun on pushes tomainand PRs.release.yml(new):googleapis/release-please-action@v5+ apublishjob gated onrelease_createdthat runsbin/publish-gemin the same workflow run — noGITHUB_TOKENcascade, no PAT.publish-gem.yml: reduced to a manualworkflow_dispatchfallback.release-please-config.json: official schema; droppedprereleasemode and the Stainless-onlyruby-readmeupdater (→ standardgeneric).No source changes. After merge, a future conventional-commit change opens a release PR; merging it publishes to RubyGems.
🤖 Generated with Claude Code